package com.example.myapplication.kotlin

fun main() {
    val name = wocknima("Harmony",18)
    println(name)

}

fun <T,D> wocknima(name:T,age:D): T{
    println("我叫$name,今年$age")
    return name
}
class wocknima1<T,D>(val name:T,val age:D){
    fun <T,D> wocknima1(name:T,age:D): T{
        println("我叫$name,今年$age")
        return name
    }
}